<template>
	<view class="set">
		<!-- <view class="title">
			<view class="back">
				<img src="../../static/返回左.png" alt="">
				<view>
					返回
				</view>
			</view>
			<view class="title1">
				设置中心
			</view>

		</view> -->
		<view class="con1">
			<view class="left">
				安全中心
			</view>
			<view class="right">
				<view>
					密码/手机号管理

				</view>
				<img src="../../static/返回.png" alt="">

			</view>
		</view>
		<view class="con1 mg1">
			<view class="left">
				新消息通知
			</view>
			<view class="right">

				<img src="../../static/返回.png" alt="">

			</view>
		</view>
		<view class="con1 mg2">
			<view class="left">
				多语言
			</view>
			<view class="right">

				<img src="../../static/返回.png" alt="">

			</view>
		</view>
		<view class="con1">
			<view class="left">
				清除缓存
			</view>
			<view class="right">

				<img src="../../static/返回.png" alt="">

			</view>
		</view>
		<view class="con1 mg3">
			<view class="left">
				问题反馈
			</view>
			<view class="right">

				<img src="../../static/返回.png" alt="">

			</view>
		</view>
		<view class="con1">
			<view class="left">
				关于主题咖
			</view>
			<view class="right">
				<view>
					版本 1.0.0

				</view>
				<img src="../../static/返回.png" alt="">

			</view>
		</view>
		<view class="con2" @click="login">
			<view>
				退出登录

			</view>

		</view>
		<view class="error">

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			login() {
				uni.navigateTo({
					url: '/pages/DengLu1/DengLu1'
				})
			}

		}
	}
</script>

<style lang='scss'>
	.set {
		background-color: #f2f2f2;

		.title {
			height: 2.6rem;
			width: 100%;
			background-color: #fff;
			padding-left: .3rem;
			display: flex;
			align-items: center;
			margin-bottom: .8rem;

			.back {
				display: flex;
				align-items: center;

				img {
					width: .8rem;
					height: .8rem;
					margin-right: .3rem;

				}

				view {
					font-size: .9rem;
				}
			}

			.title1 {
				padding-left: 4rem;
				font-weight: 600;
				font-size: .9rem;
			}
		}

		.con1 {
			background-color: #fff;
			height: 3rem;
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: space-between;

			.left {
				margin-left: .5rem;
				font-size: .95rem;
			}

			.right {
				display: flex;
				align-items: center;

				view {
					font-size: .8rem;
					color: #8a8a8a;
				}

				img {
					width: 1rem;
					height: 1rem;
				}
			}
		}

		/* 不同盒子的bottom设置 */
		.mg1 {
			margin-top: .5rem;
			margin-bottom: .2rem;
		}

		.mg2 {
			margin-bottom: .5rem;
		}

		.mg3 {
			margin: .1rem 0rem;
		}

		.con2 {
			height: 3rem;
			width: 100%;
			display: flex;
			justify-content: center;
			align-items: center;
			background-color: #fff;
			margin-top: .7rem;
			height: 2.2rem;
			width: 100%;


			view {
				color: red;
				font-size: .9rem;
			}
		}

		.error {
			height: 15rem;
			width: 100%;
			background-color: #f2f2f2;
		}
	}
</style>
